<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    table是块级元素
    caption/tbody/thead/tr占据一整行
    td/th共享一行
    1.注意层级结构<br />
    2.用于数据展示<br />
    3.一定不要用于布局结构<br />
    <table border="10" cellspacing="10" cellpadding="10" align="center">
        <caption>标题</caption>
        <thead>
            <tr>
                <th>编号</th>
                <th>姓名</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>1</td>
                <td>张三</td>
            </tr>
        </tbody>
    </table>
</body>
</html>